-- card: 8156 from stack: in -- bmap block id: 8304 -- flags: 0000 -- background id: 3044 -- name: Volume2 ----- HyperTalk script ----- on closeCard put empty into background field "toconvert" put empty into background field "answer" end closeCard -- part 14 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=75 top=288 right=304 bottom=134 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Distance ----- HyperTalk script ----- on mouseUp visual effect zoom open go to card Distance end mouseUp -- part 15 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=75 top=306 right=323 bottom=134 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Temperature ----- HyperTalk script ----- on mouseUp visual effect zoom open go to card weight end mouseUp -- part 16 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=135 top=288 right=304 bottom=194 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Area ----- HyperTalk script ----- on mouseUp visual effect zoom open go to card Area end mouseUp -- part 17 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=135 top=306 right=323 bottom=194 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Temperature ----- HyperTalk script ----- on mouseUp visual effect zoom open go to card temperature end mouseUp -- part 25 (button) -- low flags: 00 -- high flags: A003 -- rect: left=282 top=283 right=323 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Original Conversions ----- HyperTalk script ----- on mouseUp get background field "toconvert" visual effect wipe left slowly go to card "Volume" put it into background field "toconvert" end mouseUp -- part 28 (button) -- low flags: 00 -- high flags: A003 -- rect: left=283 top=49 right=76 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Liters to Quarts (Dry) ----- HyperTalk script ----- on mouseUp set numberformat to 0.000 put empty into background field "answer" get first word of background field "toconvert" put it into temp if temp is "-" then get second word of background field "toconvert" divide it by -1 put it into temp end if put empty into background field "toconvert" if temp is empty then put temp && "0 Liters (Dry)" into background field "toconvert" else put temp && " Liters (Dry)" into background field "toconvert" end if multiply temp by 0.908 put temp && " Quarts (Dry)" into background field "answer" put empty into temp end mouseUp -- part 29 (button) -- low flags: 00 -- high flags: A003 -- rect: left=283 top=77 right=104 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Quarts to Liters (Dry) ----- HyperTalk script ----- on mouseUp set numberformat to 0.000 put empty into background field "answer" get first word of background field "toconvert" put it into temp if temp is "-" then get second word of background field "toconvert" divide it by -1 put it into temp end if put empty into background field "toconvert" if temp is empty then put temp && "0 Quarts (Dry)" into background field "toconvert" else put temp && " Quarts (Dry)" into background field "toconvert" end if multiply temp by 1.101 put temp && " Liters (Dry)" into background field "answer" put empty into temp end mouseUp -- part 30 (button) -- low flags: 00 -- high flags: A003 -- rect: left=283 top=107 right=134 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Liters to Quarts (Liq.) ----- HyperTalk script ----- on mouseUp set numberformat to 0.000 put empty into background field "answer" get first word of background field "toconvert" put it into temp if temp is "-" then get second word of background field "toconvert" divide it by -1 put it into temp end if put empty into background field "toconvert" if temp is empty then put temp && "0 Liters (Liq.)" into background field "toconvert" else put temp && " Liters (Liq.)" into background field "toconvert" end if multiply temp by 1.0567 put temp && " Quarts (Liq.)" into background field "answer" put empty into temp end mouseUp -- part 31 (button) -- low flags: 00 -- high flags: A003 -- rect: left=283 top=135 right=162 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Quarts to Liters (Liq.) ----- HyperTalk script ----- on mouseUp set numberformat to 0.000 put empty into background field "answer" get first word of background field "toconvert" put it into temp if temp is "-" then get second word of background field "toconvert" divide it by -1 put it into temp end if put empty into background field "toconvert" if temp is empty then put temp && "0 Quarts (Liq.)" into background field "toconvert" else put temp && " Quarts (Liq.)" into background field "toconvert" end if multiply temp by 0.9463 put temp && " Liters (Liq.)" into background field "answer" put empty into temp end mouseUp -- part 32 (button) -- low flags: 00 -- high flags: A003 -- rect: left=283 top=166 right=193 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Liters to US Gallons (Liq.) ----- HyperTalk script ----- on mouseUp set numberformat to 0.000 put empty into background field "answer" get first word of background field "toconvert" put it into temp if temp is "-" then get second word of background field "toconvert" divide it by -1 put it into temp end if put empty into background field "toconvert" if temp is empty then put temp && "0 liters (liq.)" into background field "toconvert" else put temp && " liters (liq.)" into background field "toconvert" end if divide temp by 3.785 put temp && " US gallons (liq.)" into background field "answer" put empty into temp end mouseUp -- part 33 (button) -- low flags: 00 -- high flags: A003 -- rect: left=283 top=194 right=221 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: US Gallons to Liters (Liq.) ----- HyperTalk script ----- on mouseUp set numberformat to 0.000 put empty into background field "answer" get first word of background field "toconvert" put it into temp if temp is "-" then get second word of background field "toconvert" divide it by -1 put it into temp end if put empty into background field "toconvert" if temp is empty then put temp && "0 US gallons ( liq.)" into background field "toconvert" else put temp && " US gallons ( liq.)" into background field "toconvert" end if divide temp by 0.264 put temp && " liters ( liq.)" into background field "answer" put empty into temp end mouseUp -- part 34 (button) -- low flags: 00 -- high flags: A003 -- rect: left=283 top=224 right=251 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Liters to Imp. Gal. (Liq.) ----- HyperTalk script ----- on mouseUp set numberformat to 0.000 put empty into background field "answer" get first word of background field "toconvert" put it into temp if temp is "-" then get second word of background field "toconvert" divide it by -1 put it into temp end if put empty into background field "toconvert" if temp is empty then put temp && "0 liters (liq.)" into background field "toconvert" else put temp && " liters (liq.)" into background field "toconvert" end if divide temp by 4.546 put temp && " Imp. Gal. (liq.)" into background field "answer" put empty into temp end mouseUp -- part 36 (button) -- low flags: 00 -- high flags: A003 -- rect: left=283 top=252 right=279 bottom=475 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Imp. Gal. to Liters (Liq.) ----- HyperTalk script ----- on mouseUp set numberformat to 0.000 put empty into background field "answer" get first word of background field "toconvert" put it into temp if temp is "-" then get second word of background field "toconvert" divide it by -1 put it into temp end if put empty into background field "toconvert" if temp is empty then put temp && "0 Imp. Gal. (Liq.)" into background field "toconvert" else put temp && " Imp. Gal. (Liq.)" into background field "toconvert" end if multiply temp by 4.546 put temp && " Liters (Liq.)" into background field "answer" put empty into temp end mouseUp -- part contents for background part 7 ----- text ----- Volume Conversions